How to change attribute name and reasign renamed attribute to existing view

Changing attribute names means that views displaying such attribute will sort of loose the related column. Apparently they do not loose it really because changing the attribute’s name back to its origin, the related column reapears.
But the UI or DXL officially permit only to access visible views.
So far I see only one way to update views when changing attribute names:
1. store the column settings of all related views
2. rename the attribute
3. recreate the column according the data stored in step 1 in all related views

Is there another way, where I could access the column settings of an invisible column?

Markus
SystemAdmin - Fri Oct 30 10:34:45 EDT 2009

Re: How to change attribute name and reasign renamed attribute to existing view
ePiallat - Tue Nov 03 10:12:37 EST 2009

For what I know, there is no other solution.

Additionaly, you should add some "1b." step:
1. store the column settings of all related views
1b. delete associated columns of all related views
2. rename the attribute
3. recreate the column according the data stored in step 1 in all related views

If you don't delete columns, there is a small chance that a future attribute with the same name will be displayed.

Re: How to change attribute name and reasign renamed attribute to existing view
Illo_993 - Wed Nov 04 03:29:37 EST 2009

ePiallat - Tue Nov 03 10:12:37 EST 2009
For what I know, there is no other solution.

Additionaly, you should add some "1b." step:
1. store the column settings of all related views
1b. delete associated columns of all related views
2. rename the attribute
3. recreate the column according the data stored in step 1 in all related views

If you don't delete columns, there is a small chance that a future attribute with the same name will be displayed.

Hi,

there's an easier way for preserving the columns of a view while you are deleting/re-creating attributes:
Just activate the standard view before makink those modifications and re-activate the previous view after all modification have been saved.
As far as the standard view has no user defined atttributes (columns) there's nothing to loose.

Hint: works until DOORS 8.3.

Cheers
Illo

Re: How to change attribute name and reasign renamed attribute to existing view
SystemAdmin - Wed Nov 04 04:11:05 EST 2009

Illo_993 - Wed Nov 04 03:29:37 EST 2009
Hi,

there's an easier way for preserving the columns of a view while you are deleting/re-creating attributes:
Just activate the standard view before makink those modifications and re-activate the previous view after all modification have been saved.
As far as the standard view has no user defined atttributes (columns) there's nothing to loose.

Hint: works until DOORS 8.3.

Cheers
Illo

In DOORS 9.2.0.1, changing the name of an attribute while in Standard View does loose all of the columns in other views where that attribute was used.

If you are in a view that does have the attribute in a column, change the attribute name then the column heading will change name as well (well as long as you have not given it a specific name) and you can save the view. That rescues that view. However, in other views the column with that attribute will be gone!

/Kristian